const express = require('express')
const router = express.Router()
const indexCtrl = require('./controllers/index')

router
  .get('/posts/*', indexCtrl.showPost)
  .get('/', indexCtrl.showHome)

module.exports = router
